.tn-tc-image{class: piece.stretch_to_fill? ? 'stretch' : ''}
  - if piece.image.present?
    - if piece.link_url.blank?
      = piece_image_tag(piece)
    - else
      = link_to piece_image_tag(piece), piece.link_url, target: '_'
  - else
    = image_tag('tenon/thumb-doc.png')
- if piece.show_caption
  .tn-tc-caption
    = piece.caption
